<!DOCTYPE html>

<html lang="en">
<head>
    <title>实况2013</title>
    <link rel="icon" type="image/png" href="/img/default.png">
    <meta charset="UTF-8" />
    <link rel="stylesheet" href="/css/bootstrap.css"/>
</head>
<body>
    <#if msg??>
        <div class="container-fluid" style="text-align: center">
            <h1>${msg}(${syCountryList?size})</h1>
        </div>
    </#if>
    <#if sk2013Type??>
        <div class="container-fluid" style="text-align: center">
            <h1>${sk2013Type.value}(${syCountryList?size})</h1>
        </div>
    </#if>
    <div class="container-fluid">
        <a href="${request.contextPath}/country/sk2013_list">全部</a> &nbsp;&nbsp;&nbsp;&nbsp;
        <a href="${request.contextPath}/country/sk2013_list?sk2013type=ASIA">亚洲</a> &nbsp;&nbsp;&nbsp;&nbsp;
        <a href="${request.contextPath}/country/sk2013_list?sk2013type=EUROPE">欧洲</a> &nbsp;&nbsp;&nbsp;&nbsp;
        <a href="${request.contextPath}/country/sk2013_list?sk2013type=AFRICA">非洲</a> &nbsp;&nbsp;&nbsp;&nbsp;
        <a href="${request.contextPath}/country/sk2013_list?sk2013type=AMERICA">美洲</a> &nbsp;&nbsp;&nbsp;&nbsp;
        <a href="${request.contextPath}/country/sk2013_list?sk2013type=CONCACAF">中北美洲及加勒比海地区</a>
    </div>
    <div class="container-fluid">
        <div class="table-responsive">
            <table id="dataGrid" class="table table-striped table-bordered">
                <thead>
                <tr>
                    <th>序号</th>
                    <th>ID</th>
                    <th>国旗</th>
                    <th>国家名称</th>
                    <th>所属大洲</th>
                    <th>实况2013类型</th>
                    <th>实况2013积分</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <#list syCountryList as syCountry>
                    <tr>
                        <td>${syCountry_index+1}</td>
                        <td>${syCountry.id}</td>
                        <td>
                            <img src="/flag/${syCountry.continentType}/${syCountry.enName}_${syCountry.cnName}.png"
                                 width="60px" height="40px" />
                        </td>
                        <td>
                            ${syCountry.cnName}(${syCountry.code})
                            </br>
                            ${syCountry.enName}
                        </td>
                        <td>
                            <#if syCountry.continentType??>
                                ${syCountry.continentType.value}
                            </#if>
                            </br>
                            <#if syCountry.continentSubType??>
                                ${syCountry.continentSubType.value}
                            </#if>
                        </td>
                        <td>
                            <#if syCountry.sk2013Type??>
                                ${syCountry.sk2013Type.value}
                            </#if>
                        </td>
                        <td>${syCountry.sk2013Intergral}</td>
                        <td>
                            <#--                            <button class="btn btn-xs btn-primary" >修改</button>-->
                            <#--                            <button class="btn btn-xs btn-primary" >删除</button>-->
                        </td>
                    </tr>
                </#list>
                </tbody>
            </table>
        </div>
    </div>
</body>
</html>